package com.ztgf.order.models.service;

import com.baomidou.mybatisplus.service.IService;
import com.ztgf.order.models.dto.OrderDeadlineRecordDTO;

import java.util.Date;

/**
 * 订单截止时间记录表服务
 *
 * @author chenyuwang
 * @Date 2021-03-11 09:44:09
 */
public interface IOrderDeadlineRecordService extends IService<OrderDeadlineRecordDTO> {

    /**
     * @return : boolean
     * @Author :chenyu.wang
     * @Description : 添加订单截止时间记录
     * @Date : 2021.03.11 09:47
     * @Param : [saveBO]
     **/
    void add(Long orderId, Integer state, Date date);

    boolean insert(Long orderId, Integer state, Date date);
}
